Optimal. Leaf size=774 \[ -\frac {2 \sqrt {-a+b x^3}}{b^{2/3} \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )}+\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{\sqrt {2} b^{2/3}}+\frac {3^{3/4} \sqrt [6]{a} \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}-\frac {\sqrt [6]{a} \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a+b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{\sqrt {2} \sqrt [4]{3} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {-a+b x^3}}-\frac {2 \sqrt {2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {-a+b x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 774, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {495, 310, 225,
1893, 501} \begin {gather*} -\frac {2 \sqrt {2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {b x^3-a}}+\frac {\sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} E\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {b x^3-a}}+\frac {\sqrt [4]{3} \sqrt [6]{a} \text {ArcTan}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {b x^3-a}}\right )}{2 \sqrt {2} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt [6]{a} \text {ArcTan}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {b x^3-a}}\right )}{\sqrt {2} b^{2/3}}-\frac {2 \sqrt {b x^3-a}}{b^{2/3} \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )}+\frac {3^{3/4} \sqrt [6]{a} \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {b x^3-a}}\right )}{2 \sqrt {2} b^{2/3}}-\frac {\sqrt [6]{a} \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {b x^3-a}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{\sqrt {2} \sqrt [4]{3} b^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 310
Rule 495
Rule 501
Rule 1893
Rubi steps
\begin {align*} \int \frac {x \sqrt {-a+b x^3}}{-2 \left (5+3 \sqrt {3}\right ) a+b x^3} \, dx &=\left (3 \left (3+2 \sqrt {3}\right ) a\right ) \int \frac {x}{\sqrt {-a+b x^3} \left (-2 \left (5+3 \sqrt {3}\right ) a+b x^3\right )} \, dx+\int \frac {x}{\sqrt {-a+b x^3}} \, dx\\ &=\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{\sqrt {2} b^{2/3}}+\frac {3^{3/4} \sqrt [6]{a} \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}-\frac {\sqrt [6]{a} \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a+b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{\sqrt {2} \sqrt [4]{3} b^{2/3}}-\frac {\int \frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\sqrt {-a+b x^3}} \, dx}{\sqrt [3]{b}}+\frac {\left (\sqrt {2 \left (2+\sqrt {3}\right )} \sqrt [3]{a}\right ) \int \frac {1}{\sqrt {-a+b x^3}} \, dx}{\sqrt [3]{b}}\\ &=-\frac {2 \sqrt {-a+b x^3}}{b^{2/3} \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )}+\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \left (1-\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt [6]{a} \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt [6]{a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+2 \sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{\sqrt {2} b^{2/3}}+\frac {3^{3/4} \sqrt [6]{a} \tanh ^{-1}\left (\frac {\sqrt [4]{3} \left (1+\sqrt {3}\right ) \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\sqrt {2} \sqrt {-a+b x^3}}\right )}{2 \sqrt {2} b^{2/3}}-\frac {\sqrt [6]{a} \tanh ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt {-a+b x^3}}{\sqrt {2} 3^{3/4} \sqrt {a}}\right )}{\sqrt {2} \sqrt [4]{3} b^{2/3}}+\frac {\sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {-a+b x^3}}-\frac {2 \sqrt {2} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x}\right )|-7+4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{b} x\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b} x\right )^2}} \sqrt {-a+b x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 4 in
optimal.
time = 9.41, size = 87, normalized size = 0.11 \begin {gather*} -\frac {x^2 \sqrt {-a+b x^3} F_1\left (\frac {2}{3};-\frac {1}{2},1;\frac {5}{3};\frac {b x^3}{a},\frac {b x^3}{10 a+6 \sqrt {3} a}\right )}{4 \left (5+3 \sqrt {3}\right ) a \sqrt {1-\frac {b x^3}{a}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.38, size = 944, normalized size = 1.22
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(926\) |
default | \(\text {Expression too large to display}\) | \(944\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \sqrt {- a + b x^{3}}}{- 6 \sqrt {3} a - 10 a + b x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,\sqrt {b\,x^3-a}}{b\,x^3-2\,a\,\left (3\,\sqrt {3}+5\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________